package com.jy.adscm.operation.mscyb.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.jy.adscm.operation.cg.bean.CgMaterial;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2019-05-21
 */
public class JqzzSettingInput implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    private Integer cid;
    @TableField(exist = false)
    private CgMaterial name;
    @TableField(exist = false)
    private  String  code;

    private  Float num;

    public Float getNum() {
        return num;
    }

    public void setNum(Float num) {
        this.num = num;
    }

    public CgMaterial getName() {
        return name;
    }

    public void setName(CgMaterial name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    @Override
    public String toString() {
        return "JqzzSettingInput{" +
        "id=" + id +
        ", pid=" + pid +
        ", cid=" + cid +
        "}";
    }
}
